package Level_six;

public class Boy extends Person{
    private String girlFriend;
    private int girlAge;
    private double girlHeight;
    @Override
    void doing() {
        System.out.println(super.getName()+"用带有"+super.getSound()+"的声音对"+getGirlFriend()+"说:"+super.getWords());
    }
    void Bae(){
        System.out.println(super.getAge()+"岁"+super.getHeight()+"米的男孩"+super.getName()+"有一个"+getGirlAge()+"岁"+getHeight()+"米瓜子脸女朋友"+getGirlFriend());
    }
    void walk(){
        System.out.println(super.getName()+"和"+getGirlFriend()+"一起去散步");
    }

    public Boy(int age, double height, String sound, String words, String name, String girlFriend, int girlAge, double girlHeight) {
        super(age, height, sound, words, name);
        this.girlFriend = girlFriend;
        this.girlAge = girlAge;
        this.girlHeight = girlHeight;
    }
    public Boy() {
    }

    public String getGirlFriend() {
        return girlFriend;
    }

    public void setGirlFriend(String girlFriend) {
        this.girlFriend = girlFriend;
    }

    public int getGirlAge() {
        return girlAge;
    }

    public void setGirlAge(int girlAge) {
        this.girlAge = girlAge;
    }

    public double getGirlHeight() {
        return girlHeight;
    }

    public void setGirlHeight(double girlHeight) {
        this.girlHeight = girlHeight;
    }
}
